<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title><link rel="stylesheet" href="./css/style.css">
    <style>
        .container {
            /* width: 300px; */
            /* height: 300px; */
            grid-template-columns: repeat(3, 100px);
            grid-template-rows: repeat(3, 100px);
            border: 2px solid #333;
        }
        .item1 {
            grid-column: 1/3;
        }
        .item2 {
            grid-column: 1/3;
        }
    </style>
    <script src="./demo.js"></script>
</head>
<body>
    <br>
    <p>
        <label for=""><input type="radio" name="option" value="row" data-attr="gridAutoFlow">row</label>
        <label for=""><input type="radio" name="option" value="column" data-attr="gridAutoFlow">column</label>
        <label for=""><input type="radio" name="option" value="row dense" data-attr="gridAutoFlow">row dense</label>
        <label for=""><input type="radio" name="option" value="column dense" data-attr="gridAutoFlow">column dense</label>
    </p>
    <br>
    <div class="container">
        <div class="item item1">1</div>
        <div class="item item2">2</div>
        <div class="item">3</div>
        <div class="item">4</div>
        <div class="item">5</div>
        <div class="item">6</div>
        <div class="item">7</div>
        <div class="item">8</div>
        <div class="item">9</div>
    </div>
</body>
</html>